package com.powernode.boss.settings;

import com.powernode.boss.tools.RedisHelper;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.StringRedisTemplate;
import org.springframework.stereotype.Component;

@Configuration
public class BossConfiguration {
    @Bean
    public RedisHelper redisHelper(StringRedisTemplate stringRedisTemplate){
        return new RedisHelper(stringRedisTemplate);
    }
}
